<template>
  <div>
    <button>
      <slot :user="user"></slot>
      <slot :user="user2" name="person"></slot>
    </button>
  </div>
</template>

<script>
export default {
  name: 'child-3',
  data() {
    return {
      user: {
        name: '张三',
        age: 30
      },
      user2: {
        name: '李四',
        age: 31
      }
    }
  }
}
</script>

<style lang="scss" scoped></style>
